package br.iars.service.v01.recommendationservice.type;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for RecommendedItem complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="RecommendedItem">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="itemId" type="{http://service.iars.br/v01/RecommendationService/Types}itemId"/>
 *         &lt;element name="rate" type="{http://service.iars.br/v01/RecommendationService/Types}rate"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RecommendedItem", propOrder = { "itemId", "rate" })
public class RecommendedItem {

	protected long itemId;
	protected float rate;

	/**
	 * Gets the value of the itemId property.
	 * 
	 */
	public long getItemId() {
		return itemId;
	}

	/**
	 * Sets the value of the itemId property.
	 * 
	 */
	public void setItemId(long value) {
		this.itemId = value;
	}

	/**
	 * Gets the value of the rate property.
	 * 
	 */
	public float getRate() {
		return rate;
	}

	/**
	 * Sets the value of the rate property.
	 * 
	 */
	public void setRate(float value) {
		this.rate = value;
	}

	@Override
	public String toString() {
		return "RecommendedItem [itemId=" + itemId + ", rate=" + rate + "]";
	}

}
